package org.twndmv.ejb;

import java.util.List;

import javax.ejb.Remote;

import org.twndmv.dto.PersonDTO;
import org.twndmv.dto.ResidenceDTO;

@Remote
public interface DriverMgmtRemote {
	
    public void addDriver(PersonDTO newPerson);
	
	public void moveResidence(long personId, ResidenceDTO newResidence);
	
	public PersonDTO getDriver(long id);
	
	public List<PersonDTO> getDriversByLastName(String name);

	public List<PersonDTO> getAllDrivers();

}
